# -*- coding: utf-8 -*-
#coding=utf-8

from action.ajax.base import ajaxAction
import config

class exports(ajaxAction):
    def __init__(self, name = 'exports'):
        ajaxAction.__init__(self, name)

    def GET(self, name):
        # views
        self.beginExport()
        page = self.display(name)
        self.endExport()
        return page
